From 771f0892c87f660d6d6cd78f0bc64ace9095b158 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 3 May 2005 16:02:36 +0000 Subject: [PATCH] Strip_html() should always return an allocated string for consistency. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index ae4453d0f..d1a5fa82a 100644 --- a/util.c +++ b/util.c @@ -972,7 +972,7 @@ strip_html(const utf_string *in) short int taglen; if (!in->is_html) - return in->utfstring; + return xstrdup(in->utfstring); /* * We only shorten, so just dupe the input buf for space. */ -- 2.30.2